package org.parademo.service;

import org.parademo.model.UserEntity;
import org.parademo.web.model.UserProfileView;

import java.util.List;

public interface UserService {
    UserEntity getUserById(long userId);

    UserEntity getUserByUserName(String userName);

    List<UserEntity> getUsers();

    void update(UserProfileView user);

    void delete(UserEntity user);
}
